Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Wed, 18 Apr 2018 20:45:31 +0000 (21:45 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Wed, 18 Apr 2018 20:45:31 +0000 (21:45 +0100)
commite0f0d5466505d18b680a024f936dbf705a728bc7
treebc5e67aafb9e61b6512351d2180a6e8f2478aa71
parent9df6f99fd91952085864edb23baab1765d6a6edf
Fix monotonic clock detection on kFreeBSD

Fix monotonic clock detection on kFreeBSD at configure time. This will finally
enable it in QElapsedTimer.

QProcess::waitForFinished() and all other qt_safe_select() users cannot safely
operate without monotonic clock because qt_safe_select() will indicate timeout
earlier than it is supposed when underlying select() call is interrupted
(errno=EINTR).

Gbp-Pq: Name kfreebsd_monotonic_clock.diff
config.tests/unix/clock-gettime/clock-gettime.pri